AppStart.tbx ------------ 0) Installation Running init.cmd will be sufficient in most cases. However you may want to add extra items (and/or menus) to the TaskBox, see section 3 for details. 1) Usage the left mouse button works like on a normal menu. a right mouse button click on the object always open the object. ( if mouse is configure for a left hand user swap left & right over in the above ) 2) Customising icons The "icon.dat" contained in the TaskBox directory can be used for customising icons. The general format of the ICON command is. ICON "path/object" "icon" Where "path/object" is one of two things i) the fully qualified file name of the object/folder eg "E:\\Desktop" ii) the object id eg "" ( NB: remember to use double backslashes to separate paths components. ) and "icon" takes one of the following formats i) fully qualified pathname eg "E:\\os2\\apps\\epm.exe" or "E:\\icons\\file.ico" ii) filename (AppStart will search along the PATH for the file/icon) eg "epm.exe" "file.ico" iii) resource dll, icon id eg ''TaskBox, 1000" 3) Startup.dat ( located in the TaskBox directory) This file is used for adding items to the TaskBox. The general format of the commands used is START "path/object" "menu.dat" "icon" Where "path/object" and "icon" are as defined in section 2) and "menu.dat" is the location of menu.dat file to use. ( NB: "menu.dat" and/or "icon" may be ommited if an "icon" is wanted and no "menu.dat" file is wanted use "" in place of "menu.dat" eg. START "" "" "mouse.ico" ) 4) menu.dat The "menu.dat" file is searched for in any sub-folders and if one is not found the "menu.dat" in the next top folder will be tried until the "menu.dat" file specified by the START command is reached. All "menu.dat" files except that specified by the START command must be called "menu.dat" The "menu.dat" file understands various commands i) to use mini-icon specify MINI = YES ii) to have extentions removed automatically from files specify REMOVE_EXT = NO iii) to decide justification of text use TEXT = "just" where just is one of RIGHT, CENTER or LEFT iv) to add additional abstract items( or given an item in a folder an alternate name) ABSTRACT "path/object" "title" "icon" where "path/object" and "icon" as is section 2) "title" is optional and if supplied is the text to use on the menu special "path/object" identifies for ABSTRACT are SEPARATOR - insert a menu separator SHUTDOWN - shutdown computer LOCKUP - lockup computer NB: menu.dat also understands ICON "path/object" "icon" but it is probably better to keep all of these in the "icon.dat" file This module is still in a very experimental stage however it shouldn't damage anything. Legal Stuff ----------- AppStart.tbx is (c) Copyright 1996 by Kevin Ash. Appstart.tbx is distributed in the hope that it will be useful, but with ABSOLUTELY NO WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.